﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Column.Dental.Core;

namespace Column.Dental.IdentityProvider
{
    public interface IIDentityProvider
    {
        // Identify the IdentityProvider
        Guid Id { get; }
        string Name { get; }

        // Retreive a person based on the current credentials, or associate
        // a person to these credentials.
        Person GetPerson();
        void Associate(Person person);
    }
}
